<!-- 考勤表格 -->

<template>
  <WebTable v-bind="tableProp" noPage full>
    <RowTree :label="`${CORE.MAP.ORGAN}名称`" bind="deptId, deptName" :dict="CORE.ORGAN.DICT" :minWidth="120" />

    <RowNum label="应出勤" bind="attendance" empty="0" sort />

    <RowNum label="实际出勤" bind="attendanceReal" empty="0" sort />

    <RowNum label="全勤率" bind="attendanceRate" sort />

    <RowNum label="迟到" bind="late" empty="0" sort />

    <RowNum label="早退" bind="early" empty="0" sort />

    <RowNum label="旷工" bind="absenteeism" empty="0" sort />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import mixTable from '../../mixTable'
import { index } from '../store/state'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'AttendanceTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [mixTable(index)],
}
</script>
